import BasicLayout from '@/layouts/basic-layout';

const meta = {
    auth: true
};

const pre = 'systemManage-';

export default {
    path: '/systemManage',
    name: 'systemManage',
    redirect: {
        name: `${pre}quill`
    },
    meta,
    component: BasicLayout,
    children: [
        {
            path: 'menuManage',
            name: `${pre}menuManage`,
            meta: {
                ...meta,
                title: '菜单管理'
            },
            component: () => import('@/pages/systemManage/menuManage/index.vue')
        },
        {
            path: 'roleManage',
            name: `${pre}roleManage`,
            meta: {
                ...meta,
                title: '权限管理'
            },
            component: () => import('@/pages/systemManage/roleManage/index.vue')
        }
    ]
};
